package com.sky.service;

import com.sky.dto.*;
import com.sky.result.PageResult;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderVO;

/**
 * @program: sky-take-out
 * @description:
 * @author: fmp
 * @create: 2023-04-09 15:10
 * @Version 1.0
 **/
public interface AdminOrderService {
    //条件分页订单查询
    PageResult selectByPage(OrdersPageQueryDTO ordersPageQueryDTO);
    //各个状态的订单数量统计
    OrderStatisticsVO getStatistics();
    //查询订单详情
    OrderVO showOrdersByOrderId(Long id);
    //接单
    void confirmOrder( OrdersConfirmDTO ordersConfirmDTO);
    //拒单
    void rejectionOrder(OrdersRejectionDTO ordersRejectionDTO);
    //取消订单
    void cancelOrder(OrdersCancelDTO ordersCancel);
    //完成订单
    void completeOrder(Long id);
    //派送订单
    void deliveryOrder(Long id);

}
